body {
  background-color: #011b58;
}
.banner img {
  width: 100%;
}
.nav-list {
  color: #fff;
  font-size: 18px;
}
.nav-list ul {
  display: flex;
  flex-wrap: wrap;
}
.nav-list ul li {
  width: 20%;
  padding: 5px;
}
.nav-list ul li .container {
  background-color: #6745b5;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.nav-list ul li .container div:nth-of-type(2) {
  background-color: #011b58;
  height: 20px;
  width: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
}
.book-list ul {
  display: flex;
  flex-wrap: wrap;
}
.book-list ul li {
  width: 50%;
  padding: 10px;
  position: relative;
}
.book-list ul li a {
  display: block;
  color: #000;
}
.book-list ul li a img {
  width: 100%;
  border-radius: 10px;
}
.book-list ul li span {
  display: block;
  position: absolute;
  bottom: 25px;
  right: 25px;
  background-color: red;
  border-radius: 5px;
}
.book-list ul li span a {
  font-size: 18px;
  color: #fff;
  padding: 5px 8px;
  width: 54px;
}
.book-list ul li div {
  background-color: #fff;
  border-radius: 10px;
}
.book-list ul li div p {
  font-size: 20px;
  line-height: 35px;
  padding: 5px;
}
.book-list ul li div p strong {
  color: red;
}
.book-list ul li div p em {
  text-decoration: line-through;
  color: rgba(109, 102, 102, 0.5);
}
.book-list ul li div p a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 20px;
}
@media screen and (min-width: 645px) and (max-width: 750px) {
  .nav-list {
    font-size: 16px;
  }
}
@media screen and (min-width: 530px) and (max-width: 645px) {
  .nav-list {
    font-size: 16px;
  }
  .nav-list ul li {
    width: 25%;
  }
}
@media screen and (min-width: 430px) and (max-width: 530px) {
  .nav-list {
    font-size: 16px;
  }
  .nav-list ul li {
    width: 33.333%;
  }
}
@media screen and (min-width: 320px) and (max-width: 450px) {
  .nav-list {
    font-size: 16px;
  }
  .nav-list ul li {
    width: 50%;
  }
  .book-list ul li {
    width: 100%;
  }
}
@media screen and (max-width: 320px) {
  .banner {
    width: 320px;
  }
  .nav-list {
    width: 320px;
  }
  .nav-list ul {
    width: 320px;
  }
  .nav-list ul li {
    width: 320px;
  }
  .book-list {
    width: 320px;
  }
  .book-list ul {
    width: 320px;
  }
  .book-list ul li {
    width: 320px;
  }
}
